package com.xiaoli.mss.service;

import redis.clients.jedis.Jedis;

/**
 * Created by my on 2018/2/23.
 */
public interface RedisService {
    public Jedis getResource();

    public void returnResource(Jedis jedis);

    public void set(String key, String value);

    public void set(String key, String value,Integer expire);

    public String get(String key);
}
